package com.sysware.mymodule.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class GiteeRepoCommit {
    private String sha;

    //2013-03-05T10:13:36+01:00
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssXXX")
    private Date date;

    public String getSha() {
        return sha;
    }

    public void setSha(String sha) {
        this.sha = sha;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
